package com.ruoyi.eduadmin.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.eduadmin.api.domain.TEmploymentTrace;
import com.ruoyi.eduadmin.api.factory.EmploymentServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/*
 *
 * @Author: awsister
 * @Date: 2022/12/27 0027 16:08
 */
@FeignClient(path = "employmentTrace", contextId = "employmentService", value = ServiceNameConstants.EDUADMIN_EMPLOYMENT, fallbackFactory = EmploymentServiceFallbackFactory.class)
public interface EmploymentService {
    @PostMapping("/addBatch")
    AjaxResult addBatch(@RequestBody TEmploymentTrace tEmploymentTrace);
}
